.FormField {
    position: relative;
    display: flex;
    align-items: center;
    margin: 4px;
    padding: 4px;

    &.FormField-stacked {
        flex-wrap: wrap;

        .FormFieldLabelSection {
            margin-bottom: 4px;
        }
        .FormFieldInputSectionRow {
            flex: 1;
            display: flex;
            flex-direction: row;
            .FormFieldInputSection {
                margin-right: 4px;
            }
        }
    }

    .FormFieldLabelSection {
        box-sizing: border-box;
        padding-right: 12px;
        // min-width: 120px;
        cursor: default;
        white-space: nowrap;
    }

    .FormFieldInputSectionRowGroup {
        margin-top: 30px;
    }

    .FormFieldInputSectionRow {
        &:first-of-type {
            margin-top: 0px;
        }
    }

    .FormFieldInputSection {
        flex-grow: 1;
    }

    .FormFieldHelpSection {
        margin-left: 8px;
    }

    .FormFieldErrorSection {
        flex: 1 1 16%;
        padding: 2px 0px 0px 4px;
        box-sizing: border-box;
        color: var(--color-false);
    }

    .FormFieldRequired {
        margin-left: 8px;
    }
}

.FormSectionHeader {
    cursor: default;
    padding-top: 8px;
    span {
        font-size: var(--text-size);
        white-space: nowrap;
        margin-right: 12px;
    }
    hr {
        width: 100%;
        margin: 12px 0px;
    }
}
.popover-content {
    .FormFieldHelpSection {
        p:not(:last-child) {
            margin-bottom: 8px;
        }
        a {
            color: var(--color-accent-text);
            font-weight: var(--bold-font);
        }
    }
}
